<?php

namespace app\admin\controller;

class Script_install
{
    /**
     * 执行脚本
     */
    public function exec(){
        $result = app("C_Admin_script_install")->exec();
        return jsonResponse($result);
    }

    /**
     * 执行安装脚本
     */
    public function install(){
        $result = app("C_Admin_script_install")->install();
        return jsonResponse($result);
    }
}
